home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / win_utl1 / hb109.zip / USERMACS.TXT < prev    next >
Text File  |  1996-04-05  |  1KB  |  18 lines

  1. {\b User Defined Macros Demonstration}
  2. \pard
  3. User defined macros are items of text defined by the user which are automatically replaced by HelpBuilder at build time with text which the user also defines.
  4.  
  5. User defined macros are set up in the Project/User Defined Macros Dialog. This example project has some macros set up in the dialog to demonstrate on this page how user defined macros operate.
  6.  
  7. \'24AUTHORNAME\'24=Graham Plowman
  8. displays:
  9. $AUTHORNAME$
  10.  
  11. \'24APPLICATIONNAME\'24=HelpBuilder
  12. displays:
  13. $APPLICATIONNAME$
  14.  
  15. User defined macros are similar to the in-built {\uldb text macros}{\v IDH_MACROS} except that the user can create them and define their values.
  16.  
  17. User defined macros are useful where a standard topic file is to be shared between multiple project files, but small differences are required between them, for example, application names, author names etc. These differences can be handled by User Defined Macros which are defined in the project file as opposed to a topic file.
  18.